package com.net.oil.coupon.bean;

import java.util.List;

/**
 * 作者：lch
 * 时间：2018/10/12 0012:下午 21:50
 * 邮箱：245850413@qq.com
 * 说明：
 */

public class CouponV2Bean {

    /**
     * paging : {"total":2,"current":0,"pageSize":20}
     * list : [{"id":36,"actionId":15,"applyTime":1528294912372,"code":"173854","uid":"9268dcf43a56452b8853e2f88193686e","bid":3,"bUserId":"e7a69c69993f48ec83b34a6336937094","businessName":null,"phone":"13253332379","used":true,"usedTime":1528295297390,"amount":50,"expireTime":1530892800000,"expireStatus":null,"prizeId":null,"business":null},{"id":22,"actionId":9,"applyTime":1526744360407,"code":"505701","uid":"9268dcf43a56452b8853e2f88193686e","bid":2,"bUserId":"9268dcf43a56452b8853e2f88193686e","businessName":null,"phone":"13253332379","used":true,"usedTime":1527610596401,"amount":10,"expireTime":1527696000000,"expireStatus":null,"prizeId":null,"business":null}]
     */

    private PagingBean paging;
    private List<ListBean> list;

    public PagingBean getPaging() {
        return paging;
    }

    public void setPaging(PagingBean paging) {
        this.paging = paging;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class PagingBean {
        /**
         * total : 2
         * current : 0
         * pageSize : 20
         */

        private int total;
        private int current;
        private int pageSize;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }
    }

    public static class ListBean {
        /**
         * id : 36
         * actionId : 15
         * applyTime : 1528294912372
         * code : 173854
         * uid : 9268dcf43a56452b8853e2f88193686e
         * bid : 3
         * bUserId : e7a69c69993f48ec83b34a6336937094
         * businessName : null
         * phone : 13253332379
         * used : true
         * usedTime : 1528295297390
         * amount : 50
         * expireTime : 1530892800000
         * expireStatus : null
         * prizeId : null
         * business : null
         */

        private int id;
        private int actionId;
        private long applyTime;
        private String code;
        private String uid;
        private int bid;
        private String bUserId;
        private String businessName;
        private String phone;
        private boolean used;
        private long usedTime;
        private double amount;
        private long expireTime;
        private int expireStatus;
        private Object prizeId;
        private Object business;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getActionId() {
            return actionId;
        }

        public void setActionId(int actionId) {
            this.actionId = actionId;
        }

        public long getApplyTime() {
            return applyTime;
        }

        public void setApplyTime(long applyTime) {
            this.applyTime = applyTime;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public int getBid() {
            return bid;
        }

        public void setBid(int bid) {
            this.bid = bid;
        }

        public String getBUserId() {
            return bUserId;
        }

        public void setBUserId(String bUserId) {
            this.bUserId = bUserId;
        }

        public String getBusinessName() {
            return businessName;
        }

        public void setBusinessName(String businessName) {
            this.businessName = businessName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public boolean isUsed() {
            return used;
        }

        public void setUsed(boolean used) {
            this.used = used;
        }

        public long getUsedTime() {
            return usedTime;
        }

        public void setUsedTime(long usedTime) {
            this.usedTime = usedTime;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public long getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(long expireTime) {
            this.expireTime = expireTime;
        }

        public int getExpireStatus() {
            return expireStatus;
        }

        public void setExpireStatus(int expireStatus) {
            this.expireStatus = expireStatus;
        }

        public Object getPrizeId() {
            return prizeId;
        }

        public void setPrizeId(Object prizeId) {
            this.prizeId = prizeId;
        }

        public Object getBusiness() {
            return business;
        }

        public void setBusiness(Object business) {
            this.business = business;
        }
    }
}
